call mvn clean install -Dmaven.test.skip=true -P prod
rmdir dist /s /q

mkdir dist
mkdir dist\plugins

xcopy application\target\application-*-*-repackage.jar dist /s /i
xcopy application\src\main\resources\application-prod.yml dist /s

xcopy application\target\lib\* dist\lib /y /e /i /q

xcopy baliServer-plugins-module\baliServer-module-menu\target\*-repackage.jar dist\plugins /s
xcopy baliServer-plugins-module\baliServer-module-auth\target\*-repackage.jar dist\plugins /s

xcopy example-plugins-db\example-jpa\target\jpa-example-plugin-1.0.0-repackage dist\plugins\jpa-example-plugin-1.0.0-repackage /e /i /q
xcopy example-plugins-db\example-mybatis-plus\target\*-repackage.zip dist\plugins /s



xcopy bin\* dist\ /s

cd dist

rename *-repackage.jar example.jar
rename application-prod.yml application.yml

start explorer .

